<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="sass/css/common.css">
    <link rel="stylesheet" href="sass/css/tuijian.css">
    <link rel="stylesheet" href="font/iconfont.css">
    <script>
        window.onload = function () {
            /*720代表设计师给的设计稿的宽度，你的设计稿是多少，就写多少;100代表换算比例，这里写100是
                              为了以后好算,比如，你测量的一个宽度是100px,就可以写为1rem,以及1px=0.01rem等等*/
            getRem(375, 100)
        };
        window.onresize = function () {
            getRem(375, 100)
        };
        function getRem(pwidth, prem) {
            var html = document.getElementsByTagName("html")[0];
            var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
            html.style.fontSize = oWidth / pwidth * prem + "px";
        }
    </script>
</head>

<body>
    <header>
        <span class="iconfont icon-arrow-left-copy-copy"></span>
        <span>推荐消息</span>
    </header>

    <section>
        <article>
            <div><a>都是啥宝藏屋主呀？每一个屋主的家，我都逛过的迈不动腿>></a></div>
            <img src="" />
            <span>4小时前</span>
        </article>
        <article>
            <div><a>都是啥宝藏屋主呀？每一个屋主的家，我都逛过的迈不动腿>></a></div>
            <img src="" />
            <span>4小时前</span>
        </article>
        <article>
            <div><a>都是啥宝藏屋主呀？每一个屋主的家，我都逛过的迈不动腿>></a></div>
            <img src="" />
            <span>4小时前</span>
        </article>
    </section>
</body>

</html>